package com.fafu.meta.domain.query;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fafu.common.web.query.BaseQuery;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
    * 省份表
    */
@Getter
@Setter
@ToString(callSuper = true)
public class ProvinceQuery extends BaseQuery {

    /**
     * 省名
     */
    private String name;

    /**
     * 所属地区
     */
    private String area;

    /**
     * 状态：1可用  2不可用
     */
    private Integer state;

    @Builder
    public ProvinceQuery(Integer pageNum, Integer pageSize, String name, String area, Integer state) {
        super(pageNum, pageSize);
        this.name = name;
        this.area = area;
        this.state = state;
    }
}